<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta content="width=device-width,user-scalable=no" name="viewport">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <title>MT Demo</title>
</head>
<body>
    <div>
        <span>Hello world</span>
    </div>

    <script type="text/javascript" id="file_config">
        var g_config = {
            jsmap:{
                'init': 'base.js',
                'util': 'base.js',
                'p1': 'page/p1.js',
                'p2': 'page/p2.js',
                'p3': 'page/p3.js'
            },
            storeInc:{
                //统计回调，统计脚本请求情况,jsUrl是js地址，mode是请求模式，full:表示全量请求，inc表示增量请求，local表示从本地存储读取
                'statFunc':function(jsUrl,mode){
                    console.log('get '+jsUrl+' from '+mode);
                },
                //写本地存储异常回调，将脚本内容写入本地存储出现异常的时候调用，用来提供给业务清理本地存储，storekey表示写如的key
                'storeExFunc':function(storeKey){
                    console.log('set store item '+storeKey+' exception') ;
                },
                'store': true,
                'inc': true,
				'proxy':true,
                'debug': false
            },
            testEnv: false,
            staticPath: '/release',
			serverDomain: 'http://localhost:6600',
            buildType: 'project',
            ver: '2014050500049'
        };
    </script>
    <script src="js/mt/core.js"></script>
    <script src="js/mt/storeIncLoad.js"></script>

    <script type="text/javascript">
        MT.config(g_config);
        require('init');
    </script>
</body>
</html>